<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="lib/html5shiv.js" th:src="@{/lib/html5shiv.js}"></script>
	<script type="text/javascript" src="lib/respond.min.js" th:src="@{/lib/respond.min.js}"></script>
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="h-ui/css/H-ui.min.css" th:href="@{/h-ui/css/H-ui.min.css}" />
	<link rel="stylesheet" type="text/css" href="h-ui.admin/css/H-ui.admin.css" th:href="@{/h-ui.admin/css/H-ui.admin.css}"/>
	<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" th:href="@{/lib/Hui-iconfont/1.0.8/iconfont.css}"/>
	<link rel="stylesheet" type="text/css" href="h-ui.admin/skin/default/skin.css" th:href="@{/h-ui.admin/skin/default/skin.css}" id="skin" />
	<link rel="stylesheet" type="text/css" href="h-ui.admin/css/style.css" th:href="@{/h-ui.admin/css/style.css}" />
	<!--[if IE 6]>
	<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" th:src="@{/lib/DD_belatedPNG_0.0.8a-min.js}"></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
	<!--/meta 作为公共模版分离出去-->

<title>导出文件</title>
<link href="../lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="page-container">
	<form class="form form-horizontal" id="form-article-add">
		<input type="hidden"  name="infoState">
		<input type="hidden"  name="keyWords">
		<input type="hidden"  name="ids">
		<div class="row cl">
			<label class="form-label col-xs-3 col-sm-2">导出类型：</label>
			<div class="formControls col-xs-9 col-sm-9 skin-minimal">
				
				  <div class="radio-box">
					<input type="radio" id="radio-1" name="exportType" value="1">
					<label for="radio-1">全部导出</label>
				  </div>
				  <div class="radio-box">
					<input type="radio" id="radio-2" name="exportType" checked value="2">
					<label for="radio-2">搜索条件导出 </label>
				  </div>
				  <div class="radio-box">
					<input type="radio" id="radio-3" name="exportType" value="3">
					<label for="radio-3">选择数据导出 </label>
				  </div>
			</div>
		</div>
		
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button onClick="infoManageExport();" class="btn btn-secondary radius" type="button"><i class="Hui-iconfont">&#xe632;</i> 导出</button>
				<!--<button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>-->
			</div>
		</div>
	</form>
</div>


<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../lib/jquery/1.9.1/jquery.min.js" th:src="@{/lib/jquery/1.9.1/jquery.min.js}"></script>
<script type="text/javascript" src="../lib/layer/2.4/layer.js" th:src="@{/lib/layer/2.4/layer.js}"></script>
<script type="text/javascript" src="../h-ui/js/H-ui.min.js"  th:src="@{/h-ui/js/H-ui.min.js}"></script>
<script type="text/javascript" src="../h-ui.admin/js/H-ui.admin.js" th:src="@{/h-ui.admin/js/H-ui.admin.js}"></script> <!--/_footer /作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->

<script type="text/javascript">

function infoManageExport(){
	layer.confirm('确认要导出吗？',function(index){
		$.ajax({
			type: 'POST',
			url: 'http://127.0.0.1:3031/test/cms/testajax2',
			dataType: 'json',
			data:{'infoState':'','keyWords':'','ids':'','exportType':''},
			success: function(data){
				layer.msg('已导出!',{icon:1,time:1000});
			},
			error:function(data) {
				console.log(data.msg);
			},
		});		
	});
}
/*
$(function(){
    $btn.on('click', function () {
        infoManageExport();
    });

});
*/

</script>
</body>
</html>